$OpenBSD: patch-test_broker_c_Makefile,v 1.1 2017/04/15 20:46:16 sthen Exp $
--- test/broker/c/Makefile.orig	Fri Apr 14 14:45:04 2017
+++ test/broker/c/Makefile	Fri Apr 14 14:45:50 2017
@@ -10,10 +10,10 @@ auth_plugin.so : auth_plugin.c
 	$(CC) ${CFLAGS} -fPIC -shared $^ -o $@ 
 
 08-tls-psk-pub.test : 08-tls-psk-pub.c
-	$(CC) ${CFLAGS} $^ -o $@ ../../../lib/libmosquitto.so.1
+	$(CC) ${CFLAGS} $^ -o $@ ${WRKLIB}
 
 08-tls-psk-bridge.test : 08-tls-psk-bridge.c
-	$(CC) ${CFLAGS} $^ -o $@ ../../../lib/libmosquitto.so.1
+	$(CC) ${CFLAGS} $^ -o $@ ${WRKLIB}
 
 
 reallyclean : clean
